<template>
	<view
	class="bg-white u-m-t-10"
	style="padding: 32rpx 40rpx 38rpx 36rpx;">
		<view class="u-f-28 u-lh-40">{{ lang_order.refundAddressTips }}</view>
		<view class="u-m-t-10 u-f-26 u-lh-40 color-grew">
			<view
			v-for="(item, index) in sendBacks"
			:key="index"
			class="u-m-t-18">
				{{ lang_address[item.labelKey] }}: {{ item.key === 'address' ? formatAddress(info) : info[item.key] }}
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			info: {
				default: () => ({})
			}
		},
		data() {
			return {
				sendBacks: [
						{ key: 'address', labelKey: 'sendAddress', label: '寄回地址' },
						{ key: 'name', labelKey: 'addressee', label: '收件人' },
						{ key: 'mobile', labelKey: 'contactPhone', label: '联系电话' },
					]
			}
		},
		watch: {
			info: {
				handler(v) {
					
				},
				deep: true,
				immediatee: true
			}
		}
	}
</script>

<style>
</style>
